<template>
	<view class="fullPage bf">
		<view class="h20 bgf5"></view>
		<view class="container p24"><u-parse :html="pageInfo" :show-with-animation="true"></u-parse></view>
	</view>
</template>

<script>
export default {
	name: 'index',
	data() {
		return {
			pageInfo: '',
			systemType: ''
		};
	},
	onLoad(e) {
		this.systemType = e.systemType;
	},
	onShow() {
		this.$http({
			url: '/api/sysParameter/getSysParam',
			data: {
				systemType: this.systemType
			}
		}).then(res => {
			console.log(res);
			uni.setNavigationBarTitle({
				title: res.data.sysParameter.systemDesc
			});
			this.pageInfo = res.data.sysParameter.systemValue;
		});
	},
	methods: {}
};
</script>

<style scoped lang="scss"></style>
